<template>
  <div class="bannerInfo">
    <img :src="info.img" alt="" />
    <div class="container">
      <div class="s_banner s_flex s_justify_content_center s_flex-column">
        <h3 class="sq_tilte1">{{ info.title }}</h3>
        <p class="line"></p>
        <p class="sq_content sq_content_color">{{ info.content }}</p>
      </div>
    </div>
    <!-- <div class="container">
      <div class="s_banner s_flex s_align_items_center s_justify_content_between">
        <div>
          <h3 class="sq_tilte1">{{info.title}}</h3>
          <p class="line"></p>
          <p class="sq_content sq_content_color">{{info.content}}</p>
        </div>
        <div class="banner_right">
          <img src="../../assets/web/banner.png" alt="" />
        </div>
      </div>
    </div> -->
  </div>
</template>

<script>
export default {
  props: ["info"],
};
</script>

<style lang="less" scoped>
.bannerInfo {
  overflow: hidden;
  width: 100%;
  position: relative;
  // height: 373px;
  // background: var(--color6);
  img {
    width: 100%;
    min-width: 1200px;
  }
  .s_banner {
    height: 100%;
    position: absolute;
    top: 0;
    h3 {
      // width: 144px;
      font-weight: 400;
      color: #02214e;
    }
    .line {
      width: 51px;
      height: 2px;
      background: var(--color);
      margin: 30px 0 22px;
    }
    p {
      width: 422px;
      font-weight: 400;
      line-height: 29px;
    }
    .banner_right {
      width: 473px;
      height: 348px;
      img {
        width: 100%;
      }
    }
  }
}

@media (max-width: 750px) {
  .bannerInfo .s_banner {
    top: 0;
    left: 50%;
    width: 90%;
    transform: translateX(-50%);
    text-align: center;
  }
  .bannerInfo .s_banner p {
    width: 100%;
    font-weight: 400;
    line-height: 29px;
  }
  .bannerInfo .s_banner .line {
    margin: 30px auto 22px;
  }
}
</style>